#ifndef KEYBOARD_H
#define KEYBOARD_H

#include <map>
#include <string>
#include <SDL2/SDL.h>

enum keyState
{
    KEY_DOWN,
    KEY_UP
};

namespace keyboard
{
    static std::map<std::string, keyState> newKeys;

    void update();
    bool keyDown(std::string key);
    bool keyUp(std::string key);
    bool exists(std::string key);
}

#endif // KEYBOARD_H
